//
//  Log.swift
//  JiaoZiTaxi
//
//  Created by Hu Gang on 2022/10/6.
//

import Foundation
import SwiftyBeaver

struct Log {
    static var logger = SwiftyBeaver.self
    init() {
        let console = ConsoleDestination()
        // let logger = Logger(subsystem: "com.codans.jiaozitaxi", category: "Main")
        console.format = "$DHH:mm:ss$d $L $M"
        Log.logger.addDestination(console)
    }
}
